<template>
  <div class="token-error">
    <div>
      <p>获取用户信息, 请先在VT Premise端站点登录，然后在浏览器地址框里输入取token Url，获取token, 用它替换API 拦截器里user token!</p>
      <p><span class="site">premise portal url:</span> http://smartucpermise-dev.sd.huawei.com/premiseui/#/</p>
      <p><span class="site">token url:</span> http://smartucpermise-dev.sd.huawei.com/premise_auth/uc/token</p>
    </div>
  </div>
</template>
<script>
export default {
  name: 'TokenError',
  data () {
    return {}
  }
}
</script>
<style lang="less" scoped>
  .token-error {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    &>div{
      width: 100%;
      height: 100%;
    }
    &>div>p:first-child {
      color: red;
      font-size: 16px;
    }
    &>div>p{
      width: 100%;
      height: 40px;
      text-align: center;
    }
    &:last-child {
      margin-top: 30px;
    }
    .site {
      font-size: 15px;
      font-weight: 600;
      margin-right: 20px;
    }
  }
</style>
